extends /templates/base

block content

  h1(data-i18n="community.main_title")

  p(data-i18n="community.introduction")

  if me.isAdmin()
    div
      .community-columns
        a(href="/editor/archived-elements")
          img.community-img(src="/images/pages/parents/anya_reading.png")
        h2
          a(href="/editor/archived-elements") Archive game elements (NEW!)
        p
          span.spl With this editor, you can hide levels, thangs and components from other editors.
          span.spl This makes editing faster, lighter and easier. Archive something annoying, today! :)

      .community-columns
        a(href="/editor/podcast")
          img.community-img(src="/images/pages/podcast/edtech-adventure.jpg")
        h2
          a(href="/editor/podcast") Podcast (NEW!)
        p
          span.spl With this editor, you can create and publish podcasts

      .community-columns
        a(href="/editor/podcast")
          img.community-img(src="/images/pages/teachers/resources/markdown/getting-started/resource-hub.png")
        h2
          a(href="/editor/resource") Resources (NEW!)
        p
          span.spl With this editor, you can edit things in Teacher Toolkit tab of teacher dashboard

      .community-columns
        a(href="/editor/announcement")
          img.community-img(src="/images/pages/parents/parent_hero_2.png")
        h2
          a(href="/editor/announcement") Announcement (NEW!)
        p
          span.spl With this editor, you can publish announcements to all (or a group of) users

    .clearfix

  div

    .community-columns
      a(href="/editor/level")
        img(src="/images/pages/community/level.png")
      h2
        a(href="/editor/level", data-i18n="editor.level_title")
      p
        span.spr(data-i18n="community.level_editor_prefix")
        a(href="/editor/level", data-i18n="editor.level_title")
        span.spl(data-i18n="community.level_editor_suffix")

    .community-columns
      a(href="/editor/thang")
        img(src="/images/pages/community/thang.png")
      h2
        a(href="/editor/thang", data-i18n="editor.thang_title")
      p
        span.spr(data-i18n="community.thang_editor_prefix")
        a(href="/editor/thang", data-i18n="editor.thang_title")
        span.spl(data-i18n="community.thang_editor_suffix")

    .community-columns
      a(href="/editor/article")
        img(src="/images/pages/community/article.png")
      h2
        a(href="/editor/article", data-i18n="editor.article_title")
      p
        span.spr(data-i18n="community.article_editor_prefix")
        a(href="/editor/article", data-i18n="editor.article_title")
        span.spl(data-i18n="community.article_editor_suffix")

  .clearfix

  div

    .half-width

      h2.lower-titles
        a(href="https://www.facebook.com/codecombat", data-i18n="community.find_us")

      .logo-row

        a(href="https://github.com/codecombat/codecombat")
          img(src="/images/pages/community/logo_github.png", data-i18n="[data-content]community.social_github" data-content="Check out all our code on GitHub")

        a(href="http://blog.codecombat.com")
          img(src="/images/pages/community/logo_sett.png", data-i18n="[data-content]community.social_blog" data-content="Read the CodeCombat blog")

        a(href="http://discourse.codecombat.com")
          img(src="/images/pages/community/logo_discourse.png", data-i18n="[data-content]community.social_discource" data-content="Join the discussion on our Discourse forum")

        a(href="https://www.facebook.com/codecombat")
          img(src="/images/pages/community/logo_facebook.png", data-i18n="[data-content]community.social_facebook" data-content="Like CodeCombat on Facebook")

        a(href="https://twitter.com/CodeCombat")
          img(src="/images/pages/community/logo_twitter.png", data-i18n="[data-content]community.social_twitter" data-content="Follow CodeCombat on Twitter")

    .half-width

      h2.lower-titles
        a(href="/contribute", data-i18n="community.contribute_to_the_project")

      .logo-row.contribute-classes

        a(href="/contribute/archmage")
          img(src="/images/pages/community/archmage.png")

        a(href="/contribute/artisan")
          img(src="/images/pages/community/artisan.png")

        if window && window.features && !window.features.chinaUx
          a(href="/contribute/adventurer")
            img(src="/images/pages/community/adventurer.png")

        a(href="/contribute/scribe")
          img(src="/images/pages/community/scribe.png")

        a(href="/contribute/diplomat")
          img(src="/images/pages/community/diplomat.png")

        a(href="/contribute/ambassador")
          img(src="/images/pages/community/ambassador.png")


  .clearfix
